package com.youhome.service.mapper;

import com.youhome.service.model.District;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DistrictMapper {
    int deleteByPrimaryKey(Long id);

    int insert(District record);

    int insertSelective(District record);

    District selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(District record);

    int updateByPrimaryKey(District record);

    List<District> selectByPid(Long pid);
}